Determines whether the ReadOnlyDictionary
contains an item.
Namespace:
Microsoft.Rtc.Collaboration.AudioVideo
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Function
Contains ( _
item
As
KeyValuePair(
Of K, V) _
)
As
Boolean
|
C# |
public
bool
Contains(
KeyValuePair<K, V>
item
)
|
Visual C++ |
public:
virtual
bool
Contains(
KeyValuePair<K, V>
item
)
sealed
|
JavaScript |
function
contains(
item);
|
Parameters
-
item
- Type:
KeyValuePair
<
(Of
<
(
K
,
V
>
)
>
)
The item to locate in the ReadOnlyDictionary.
Return Value
true if the
ReadOnlyDictionary contains the item; otherwise, false.
Implements
ICollectionContains(UTP)
Exceptions
Exception |
Condition |
ArgumentNullException
|
item is null. |
See Also